package com.lanou3g.demo.service.impl;

import com.lanou3g.demo.entity.ModuleInfo;
import com.lanou3g.demo.mapper.ModuleInfoMapper;
import com.lanou3g.demo.service.IModuleInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ModuleInfoService implements IModuleInfoService {

    @Autowired
    private ModuleInfoMapper moduleInfoMapper;

    /**
     * 显示所有权限
     *
     * @return
     */
    @Override
    public List<ModuleInfo> selectAllModuleInfo() {
        return moduleInfoMapper.selectAllModuleInfo();
    }
}
